projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9205abe
)
gdkkeyuni: Fix DEL for binary search
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Wed, 16 Mar 2011 23:03:34 +0000
(19:03 -0400)
committer
Jasper St. Pierre
<jstpierre@mecheye.net>
Thu, 17 Mar 2011 00:09:13 +0000
(20:09 -0400)
The list needs to be sorted in order for the binary search to work properly.
https://bugzilla.gnome.org/show_bug.cgi?id=644976
gdk/gdkkeyuni.c
patch
|
blob
|
history
diff --git
a/gdk/gdkkeyuni.c
b/gdk/gdkkeyuni.c
index 1ff50a0fdfb3c924002e00b42e6d43a265f8254a..88f36a48fc1f03118b8472d83574436f9a7258f8 100644
(file)
--- a/
gdk/gdkkeyuni.c
+++ b/
gdk/gdkkeyuni.c
@@
-839,7
+839,6
@@
static const struct {
{ 0xFF0B /* Vert. Tab */, '\v' },
{ 0xFF0D /* Return */, '\r' },
{ 0xFF1B /* Escape */, '\033' },
- { 0xFFFF /* Delete */, '\177' },
/* Numeric keypad */
@@
-863,6
+862,8
@@
static const struct {
{ 0xFFBD /* Equal */, '=' },
/* End numeric keypad */
+
+ { 0xFFFF /* Delete */, '\177' }
};
/**